package net.csdn.business.discuss.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.csdn.business.discuss.api.model.dto.DiscussLikeDTO;
import net.csdn.business.discuss.api.model.entity.DiscussLikeRecord;
import net.csdn.business.discuss.api.model.query.BatchLikeRecordQuery;
import net.csdn.business.discuss.api.model.query.DiscussLikeRecordQuery;
import net.csdn.business.discuss.api.model.vo.DiscussLikeRecordVO;

import java.util.List;
import java.util.Map;

/**
 * 讨论点赞记录Service接口
 * 
 * @author ruoyi
 * @date 2023-07-25
 */
public interface IDiscussLikeService extends IService<DiscussLikeRecord>
{
       public Integer like(DiscussLikeDTO params);

       public Integer unLike(DiscussLikeDTO params);

       /**
        * @Author zhangyl
        * @Description 批量查询用户点赞记录
        * @Date 20:52 2023/7/25
        * @Param
        * @return
        **/
       public List<String> selectLikeRecordBatch(BatchLikeRecordQuery params);

       /**
        * @Author zhangyl
        * @Description 查询用户点赞记录
        * @Date 20:52 2023/7/25
        * @Param
        * @return
        **/
       public Boolean selectLikeRecord(DiscussLikeRecordQuery query);
}
